package com.phpxiu.app.adapter.holder;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.phpxiu.app.kkylive.R;
import com.phpxiu.app.model.list.LiveHistory;

/**
 * 用户直播记录
 */
public class LiveHistoryViewHolder {
    private LiveHistory history;
    public TextView titleView;
    public TextView timeView;
    public TextView watchView;
    public ImageView stateView;
    public View dividerView;
    public LiveHistoryViewHolder(View itemView) {
        titleView=(TextView)itemView.findViewById(R.id.title_view);
        stateView=(ImageView)itemView.findViewById(R.id.live_state_view);
        timeView=(TextView)itemView.findViewById(R.id.time_view);
        watchView=(TextView)itemView.findViewById(R.id.watch_count_view);
        dividerView=itemView.findViewById(R.id.divider_view);
    }

    public LiveHistory getHistory() {
        return history;
    }

    public void setHistory(LiveHistory history) {
        this.history = history;
    }
}
